#导包
from common.dbutil import DBUtil

#执行sql, 将商品表id=1006002的商品名称由“轻奢纯棉刺绣水洗四件套”改成"轻奢纯棉刺绣水洗四件套new1"
num = DBUtil.exe_sql("update litemall_goods set name='轻奢纯棉刺绣水洗四件套new1' where id=1006002 ")
print("修改了几行：",num)